section{
    width: 1280px;
    margin: 20px auto;
}

.top{
    overflow: hidden;
}
.top>div:first-child, .top>ul{
    float: left;
}
.top>div:first-child{
    width: 1040px;
}
.top>div>img{
    display: block;
    width: 100%;
}
/* 图片导航 */
.top>ul{
    margin-left: 20px;
    margin-top: 193px;
}
.top>ul>li>a{
    width: 220px;
    height: 100%;
    border: 1px solid #fff;
}
.top>ul>li>a:nth-child(2){
    margin: 15px 0px;
}
.top>ul>li>a:hover{
    border: 1px solid #e9546b;
}
.top>ul>li>a>img{
    display: block;
    width: 100%;
}

/* 内容 */
.top-base{
    overflow: hidden;
    margin-bottom: 100px;
}
.left, .right{
    float: left;
}
.left{
    width: 58%;
}
.left>p{
    height: 32px;
    line-height: 32px;
    font-weight: 500;
}
/* 蛋糕名称 */
.left>p:first-of-type{
    height: 50px;
    line-height: 50px;
    font-size: 30px;
}
.left>p:nth-of-type(2){
    height: 32px;
    line-height: 32px;
    color: #791a1e;
    font-size: 20px;
    color: #ff3300;
}

.left>div>a{
    padding: 3px 15px;
    text-align: center;
    border: 1px solid #BC9D9D;
    border-radius: 16px;
    margin: 6px 12px 3px 0px;
    color: #BC9D9D;
}
/* 规格 */
.right>ul{
    overflow: hidden;
}
.right>ul>li{
    float: left;
    margin-right: 10px;
    padding: 6px 16px;
    background-color: #e9546b;
    margin-bottom: 6px;
}
.right>ul>li>a{
    color: #fff;
}

/* 收藏 */
.collected{
    height: 50px;
    line-height: 50px;
    color: #791a1e;
    margin-bottom: 10px;
}
.iconfont{
    font-size: 30px;
    vertical-align: middle;
    margin-right: 10px;
}
/* 加入购物车 */
.right>a:nth-of-type(n+2){
    width: 200px;
    height: 42px;
    text-align: center;
    line-height: 42px;
    margin-top: 12px;
    background-color: #791a1e;
    color: #fff;
}
.right>a:nth-of-type(2){
    background-color: #fff;
    border: 1px solid #791a1e;
    color: #791a1e;
    margin-right: 20px;
}

/* 商品详情+评价 */
.sections>div:first-of-type{
    border-bottom: 1px solid #dedede;
    margin-bottom: 12px;
}
.sections>div>a{
    height: 36px;
    text-align: center;
    line-height: 36px;
    margin: 0px 40px;
}
.sections>div>a:hover, .actived{
    color: #791a1e;
    border-bottom: 2px solid #791a1e;
}
